package org.example.ruangong.mapper;


import org.example.ruangong.model.User;

import java.util.List;

public interface UserMapper {
    int insert(User user);
    int deleteByPrimaryKey(Integer uid);
    User selectByPrimaryKey(Integer uid);
    User selectByEmail(String email);
    int updateByPrimaryKey(User user);
    List<User> selectAll();
}
